/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[欢迎加盟知启蒙，一起邂逅框架梦]
 * 
 * https://www.zhiqim.com/gitcan/zhiqim/zhiqim_account.htm
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.zhiqim.account.dbo.sys;

import java.io.Serializable;

import org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.annotation.AnNew;
import org.zhiqim.kernel.json.Jsons;
import org.zhiqim.orm.annotation.*;

/**
 * 系统敏感词 对应表《ZAC_SENSITIVE_WORD》
 */
@AnAlias("ZacSensitiveWord")
@AnNew
@AnTable(table="ZAC_SENSITIVE_WORD", key="WORD_ID", type="InnoDB")
public class ZacSensitiveWord implements Serializable
{
    private static final long serialVersionUID = 1L;

    @AnTableField(column="WORD_ID", type="long", notNull=true)    private long wordId;    //1.词语编号
    @AnTableField(column="WORD_CONTENT", type="string,128", notNull=true)    private String wordContent;    //2.敏感词汇
    @AnTableField(column="WORD_TYPE", type="int", notNull=true)    private int wordType;    //3.文字类型，0：敏感词，1：系统词汇

    public String toString()
    {
        return Jsons.toString(this);
    }

    public long getWordId()
    {
        return wordId;
    }

    public void setWordId(long wordId)
    {
        this.wordId = wordId;
    }

    public String getWordContent()
    {
        return wordContent;
    }

    public void setWordContent(String wordContent)
    {
        this.wordContent = wordContent;
    }

    public int getWordType()
    {
        return wordType;
    }

    public void setWordType(int wordType)
    {
        this.wordType = wordType;
    }

}
